* {
    margin: 0;
    padding: 0;
}


/* 首页 */
#header {
    width: 1500px;
    height: 100px;
    margin: auto;
}

#header .logo {
    float: left;
    width: 380px;
    height: 100px;
}

#header .logo a {
    display: inline-block;
    width: 300px;
    height: 80px;
    margin-top: 20px;
    margin-left: 120px;
    background-image: url(http://8.141.12.238:8083/comm_image/logo.png);
    background-repeat: no-repeat;
    background-size: 100%;
}

#header .search {
    float: left;
    width: 820px;
    height: 100px;
}

#header .search .search-box {
    width: 500px;
    height: 80px;
    margin: 10px auto;
}

#header .search .search-box .input-box {
    float: left;
    width: 450px;
    height: 60px;
    margin: 10px 0;
}

#header .search .search-box .input-box input {
    display: inline-block;
    width: 440px;
    height: 30px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: 10px;
}

#header .search .search-box .input-img {
    float: left;
    width: 30px;
    height: 30px;
    margin: 26px 0;
    margin-left: 10px;

}

#header .search .search-box .input-img input {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    background-image: url(http://8.141.12.238:8083/comm_image/search.png);
    background-size: 30px 30px;
    background-repeat: no-repeat;
}

#header .log {
    float: left;
    width: 98px;
    height: 38px;
    margin: 30px 0;
    text-align: center;
    line-height: 40px;
    border: 1px solid black;
}

#header .log:hover {
    background-color: #a6a6a6;
}

#header .log a {
    display: inline-block;
    width: 99.6px;
    height: 39.6px;
    color: #a6a6a6;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
}

#header .log a:hover {
    color: #232222;
}


/* 导航栏 */
#navbar {
    height: 40px;
    background: #3e3d43;
}

#navbar .nav {
    width: 1260px;
    height: 40px;
    margin: auto;
}

#navbar .nav .item {
    float: left;
    font-size: 19px;
    width: 120px;
    height: 40px;
    margin: 0 50px;
    list-style-type: none;
}

#navbar .nav .item a {
    display: inline-block;
    width: 120px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: white;
    text-decoration: none;
}

#navbar .nav .item a:hover {
    background-color: #d72929;
}


#navbar .nav .item.classify {
    color: white;
    width: 270px;
    margin-left: 0;
    margin-right: 100px;
    text-align: center;
    line-height: 40px;
    background-color: #313035;
}

/* 类别栏 */
#category {
    width: 1260px;
    height: 410px;
    margin: auto;
    overflow: hidden;
}

#category .item {
    height: 410px;
    float: left;
}

/* 小说分类 */
#category .item.classify {
    margin-right: 5px;
    width: 270px;
}

#category .item dl {
    width: 270px;
    height: 410px;
}

#category .item dd {
    width: 135px;
    height: 58.57px;
    float: left;
}

#category .item dd a {
    display: inline-block;
    width: 70px;
    height: 48px;
    margin: 5px 32.5px;
    font-size: 16px;
    text-align: center;
    line-height: 48px;
    text-decoration: none;
    color: #5f5d5d;
}

#category .item dd a:hover {
    color: #d72929;
}

#category .item .left {
    background-color: #f7f6f2;
}

#category .item .right {
    background-color: #f7f6f2;
}

#category .item .lowerleft {
    background-color: #fcfcfa;
}

#category .item .lowerright {
    background-color: #fcfcfa;
}

/* 图像 */
#category .item.img {
    margin: 0 5px;
    width: 700px;
    background-image: url(http://8.141.12.238:8083/comm_image/background.png);
    background-size: 700px 410px;
}

/* 通知 */
#category .item.notice {
    margin-left: 5px;
    width: 270px;
    height: 410px;
    text-align: center;
}


/* 热门作品 */
#hot-work {
    width: 1260px;
    height: 500px;
    margin: 30px auto;
}

/* 作品展示 */
.character-work-img {
    float: left;
    width: 300px;
    height: 500px;
    margin-right: 10px;
    background-color: #f7f5f0;
}

.character-work-img .title {
    width: 300px;
    height: 50px;
}

.character-work-img .box {
    width: 300px;
    height: 448px;
}

.character-work-img .box .img {
    width: 160px;
    padding: 40px 70px;
    height: 200px;
}

.character-work-img .box .img img {
    width: 160px;
    height: 200px;
}

.character-work-img .box .text {
    width: 270px;
    height: 110px;
    margin: 0 15px;
    text-align: center;
    overflow: hidden;
    font-size: 16px;
    line-height: 22px;
}

.character-work-img .box .title {
    width: 300px;
    height: 30px;
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
}

#hot-work .hot-work-classify {
    float: left;
    width: 940px;
    height: 500px;
    margin-left: 10px;
}


#hot-work .hot-work-classify .hot-class {
    float: left;
    width: 220px;
    margin: 0 10px;
    height: 250px;
    list-style-type: none;
}

#hot-work .hot-work-classify .kind {
    width: 220px;
    height: 30px;
}

#hot-work .hot-work-classify .list {
    width: 220px;
    height: 220px;
}

#hot-work .hot-work-classify .list ul {
    width: 220px;
    height: 220px;
}

#hot-work .hot-work-classify .list li {
    display: flex;
    width: 220px;
    height: 44.8px;
    list-style-type: none;
}

#hot-work .hot-work-classify .list a {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#hot-work .hot-work-classify .list a.category {
    flex-shrink: 0;
    color: #b7b4b4;
    margin-right: 3px;
}

#hot-work .hot-work-classify .list a.intro {

    color: #1f1e1e;
}

#hot-work .hot-work-classify .list a:hover {
    color: #d72929;
}

/* 新作品 */
#new-work {
    width: 1260px;
    height: 500px;
    margin: 30px auto;
}


#new-work .new-work-intro {
    float: left;
    width: 680px;
    height: 500px;
    margin-left: 10px;
}

#new-work .new-work-intro ul {
    width: 680px;
    height: 500px;
}

#new-work .new-work-intro li {
    float: left;
    width: 320px;
    margin: 0 10px;
    height: 166.67px;
    list-style-type: none;
}

#new-work .new-work-intro .book-intro {
    width: 320px;
    height: 166.33px;
}

#new-work .new-work-intro .book-intro .img {
    float: left;
    width: 120px;
    height: 155.33px;
}

#new-work .new-work-intro .book-intro .img img {
    width: 120px;
    height: 155.33px;
}

#new-work .new-work-intro .book-intro .info {
    float: left;
    width: 190px;
    margin-left: 10px;
    height: 153.33px;
}

#new-work .new-work-intro .book-intro .info .title {
    width: 190px;
    height: 22px;
    margin-bottom: 10px;
    overflow: hidden;
}

#new-work .new-work-intro .book-intro .info .title a {
    font-size: 18px;
    text-decoration: none;
    color: black;
}

#new-work .new-work-intro .book-intro .info .title a:hover {
    color: #d72929;
}


#new-work .new-work-intro .book-intro .info .intro {
    width: 190px;
    height: 90px;
    margin: 10px 0;
    line-height: 18px;
    font-size: 13px;
    overflow: hidden;
    color: #666666;
}

#new-work .new-work-intro .book-intro .info .author {
    width: 190px;
    height: 24px;
    margin-top: 10px;
}

#new-work .new-work-intro .book-intro .info .author img {
    float: left;
    width: 21px;
    height: 21px;
    margin-top: 3px;
    margin-right: 6px;
}

#new-work .new-work-intro .book-intro .info .author a {
    display: inline-block;
    height: 20px;
    font-size: 14px;
    text-decoration: none;
    color: #a6a6a6;
}

#new-work .new-work-intro .book-intro .info .author a:hover {
    color: #232222;
}

#new-work .new-work-rank {
    float: left;
    width: 240px;
    height: 500px;
    margin-left: 20px;
}


#new-work .new-work-rank li {
    width: 240px;
    height: 50px;
    list-style-type: none;
}

#new-work .new-work-rank .num {
    float: left;
    width: 20px;
    margin: 13px 0;
    border-radius: 5px;
    color: #666666;
    font-size: 15px;
    font-weight: bold;
    background-color: #ededed;
    text-align: center;
}

#new-work .new-work-rank .num.first {
    background-color: #bf2c24;
    color: aliceblue;
}

#new-work .new-work-rank .num.second {
    background-color: #ff8c00;
    color: aliceblue;
}

#new-work .new-work-rank .num.third {
    background-color: #e6bf25;
    color: aliceblue;
}

#new-work .new-work-rank .title {
    float: left;
    width: 200px;
    height: 24px;
    margin: 10px 0;
    overflow: hidden;
}

#new-work .new-work-rank a {
    float: left;
    color: black;
    font-size: 18px;
    margin-left: 8px;
    text-decoration: none;
    overflow: hidden;
}

#new-work .new-work-rank a:hover {
    color: #d72929;
}

#footer {
    width: 100%;
    height: 50px;
    text-align: center;
    line-height: 50px;
    color: #ccc;
    margin-top: 15px;
}